package com.ssn.facade;

public class FileModule {
    private FileReader reader;
    private FileEncrypter encrypter;
    private FileSaver saver;

    public FileModule() {
        reader = new FileReader();
        encrypter = new FileEncrypter();
        saver = new FileSaver();
    }
    public void read(){
        reader.readFile();
    }
    public void saver(){
        saver.saveFile();
    }
    public void encrypt() {
        reader.readFile();
        encrypter.encryptFile();
        saver.saveFile();
    }
}
